package com.newmainsoftech.ant.script;

import org.apache.tools.ant.Project;
import org.apache.tools.ant.ProjectComponent;

public interface AntOwnerAccessorContract {
	static enum OwnerRace {
		Project( Project.class), ProjectComponent( ProjectComponent.class);
		private Class<?> raceType;
		OwnerRace( Class<?> raceType) {
			this.raceType = raceType;
		}
		public Class<?> getRaceType() {
			return raceType;
		}
	}
	OwnerRace getOwnerRace();
	Object getOwner();
	void setOwner( Object owner);
}
